<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="keywords" content="">
		<meta name="description" content="">
		<meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1.0, user-scalable=no" />	
		<title>在线问答</title>
		<link rel="stylesheet" href="css/bootstrap.min.css" />
		<link rel="stylesheet" href="css/font-awesome.css" />
		<link rel="stylesheet" href="css/public.css" />
	</head>
	<body>
		<div class="containe all-height">
			<div>
				<img src="img/qzbg.jpg" alt="" class="uupic"/>
				<div class="x-height">
				    <div class="quiz-top">
			           <img src="img/qztop.png" alt="" />
			           <img src="img/logo.png" alt="" class="logo"/>
		            </div>		        
		            <div class="quiz-question">
		        	    <p>1.以幼龄幼虫群集寄主叶上吐丝结网幕，在网幕内取食叶肉，仅留叶脉，受害叶片呈白膜状而枯黄；老龄幼虫食叶呈缺刻和孔洞，严重时树木食成光杆。这是（  ）的典型危害症状</p>
		        	    <div>
		        		    <ul class="list-group lia">
		        			    <li class="list-group-item">A.舞毒蛾<span class="fa fa-times quiz-answer fa-lg span-true" aria-hidden="true" ></span></li>
		        			    <li class="list-group-item">B.刺桐姬小蜂<span class="fa fa-times quiz-answer fa-lg span-true" aria-hidden="true" ></span></li>
		        			    <li class="list-group-item">C.蔗扁蛾<span class="fa fa-times quiz-answer fa-lg span-true" aria-hidden="true" ></span></li>
		        			    <li class="list-group-item">D.美国白蛾<span class="fa fa-check quiz-answer fa-lg span-false" aria-hidden="true" id="true-answer1"></span></li>
		        	        </ul>
		        	    </div>
		            </div>
		            <div class="quiz-question">
		        	    <p>2.发生特大疫情时，经（）批准可以设立植物检疫检查站，开展植物检疫工作。</p>
		        	    <div>
		        		    <ul class="list-group lib">
		        			    <li class="list-group-item">A.国家林业局<span class="fa fa-times quiz-answer fa-lg span-true" aria-hidden="true" ></span></li>
		        			    <li class="list-group-item">B.省、自治区、直辖市人民政府<span class="fa fa-check quiz-answer fa-lg span-false" aria-hidden="true" id="true-answer2"></span></li>
		        			    <li class="list-group-item">C.省级林业主管部门<span class="fa fa-times quiz-answer fa-lg span-true" aria-hidden="true" ></span></li>
		        			    <li class="list-group-item">D.省级植物检疫机构<span class="fa fa-times quiz-answer fa-lg span-true" aria-hidden="true" ></span></li>
		        	        </ul>
		        	    </div>
		            </div>
		            <div class="quiz-question">
		        	    <p>3.2016年，国家林业局公布美国白蛾疫区名单不涉及（）。</p>
		        	    <div>
		        		    <ul class="list-group lic">
		        			    <li class="list-group-item">A.山东<span class="fa fa-times quiz-answer fa-lg span-true" aria-hidden="true" ></span></li>
		        			    <li class="list-group-item">B.安徽<span class="fa fa-times quiz-answer fa-lg span-true" aria-hidden="true" ></span></li>
		        			    <li class="list-group-item">C.江苏<span class="fa fa-times quiz-answer fa-lg span-true" aria-hidden="true" ></span></li>
		        			    <li class="list-group-item">D.上海<span class="fa fa-check quiz-answer fa-lg span-false" aria-hidden="true" id="true-answer3"></span></li>
		        	        </ul>
		        	    </div>
		            </div>
		            <div class="quiz-top">
			           <img src="img/qzbot.png" alt="" />
		            </div>
		        </div>
			</div>
		</div>
		<script type="text/javascript" src="js/cookie.js" ></script>
        <script type="text/javascript">
        	if (!getCookie('openid')) {
        		window.location.href=window.location.origin+'/welcome/to_oauth/quiz';
        	}
        </script>
        
		<script type="text/javascript" src="js/jquery-2.2.3.min.js" ></script>
        <script type="text/javascript" src="js/bootstrap.min.js" ></script>
        <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
        <script type="text/javascript" src="js/jssdk.js"></script>
        <script type="text/javascript">jssdk('共筑疫情防护墙，同圆生态家园梦。','共筑疫情防护墙，同圆生态家园梦。',window.location.href,'http://forestry.xuanzhen-tech.com/public/img/question.jpg');</script>
        <script>
        	var oneclick = false;
        	var twoclick = false;
        	var threeclick = false;
            $(document).ready(function(){
            	$(".lia li").click(function(){
            		$(this).children().show();
            		$(this).attr('data','true');
            		oneclick = true;
            		$(".lia li").unbind("click");
            		jump()
            	});
            	$(".lib li").click(function(){
            		$(this).children().show();
            		$(this).attr('data','true');
            		twoclick = true;
            		$(".lib li").unbind("click");
            		jump()
            	});
            	$(".lic li").click(function(){
            		$(this).children().show();
            		$(this).attr('data','true');
            		threeclick = true;
            		$(".lic li").unbind("click");
            		jump()
            		
            	});
            	

            });
            window.onload = function () {
            $('.uupic').height($(".x-height").height());
           };
           
           
            function jump(){
	        	if(oneclick && twoclick && threeclick){
	           		var one = $(".lia li");
	           		var two = $(".lib li");
	           		var three = $(".lic li");
	           		($(one[3]).attr('data') &&  $(two[1]).attr('data') && $(three[3]).attr('data') )?setTimeout(function(){
		           			window.location.href=window.location.origin+'/public/answer-true.html';	
		           		},1000):setTimeout(function(){
	           				window.location.href=window.location.origin+'/public/answer-false.html';
	           		},1000);
	        	}
	        }
          
        
        </script>
	</body>
</html>
